#include #include int main(int argc, char *argv[]) { char name[500]; printf("Please enter your name? "); scanf("%s", name); printf("Your name is %s.\n",name); float height, weight, bmi; printf("Please enter height: "); scanf("%f", &height); printf("Your Height is %3.0f \n", height); printf("Please enter weight: "); scanf("%f", &weight); printf("Your Weight is %3.0f \n", weight); height = (height/100); bmi = weight / (height*height); printf("Your BMI is %3.1f\n", bmi); system("PAUSE"); return 0; }